projects
/
gtk4.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
a74d394
)
shooter: Make sure to free the surface
author
Jasper St. Pierre
<jstpierre@mecheye.net>
Thu, 18 Jul 2013 00:09:56 +0000
(20:09 -0400)
committer
Jasper St. Pierre
<jstpierre@mecheye.net>
Thu, 18 Jul 2013 00:10:05 +0000
(20:10 -0400)
docs/tools/shooter.c
patch
|
blob
|
history
diff --git
a/docs/tools/shooter.c
b/docs/tools/shooter.c
index 84c993e25cbd30631bb5856a4b4888d3a5602d25..e05cfb563a4dfdf4c112e0b1510ab59b0ad84155 100644
(file)
--- a/
docs/tools/shooter.c
+++ b/
docs/tools/shooter.c
@@
-120,6
+120,7
@@
int main (int argc, char **argv)
filename = g_strdup_printf ("./%s.png", info->name);
g_assert (cairo_surface_write_to_png (surface, filename) == CAIRO_STATUS_SUCCESS);
g_free (filename);
+ cairo_surface_destroy (surface);
}
return 0;